<?php
include_once('common/header.php');
if(!isset($_SERVER['HTTP_REFERER'])) {
	$arrJson 	= array('error'=>1,'msg'=>$arrError[1]);
	echo $objRequest->getParam('callback') . '(' . Zend_Json::encode($arrJson) . ')';
	exit();
}
$intAction 	= $objRequest->getParam('act',null);
$intOwnerId	= Vfriend_Function::base64D($objRequest->getParam('uid',''));		
$intAjax 	= 1;
$intError	= 0;
$strMessage	= '';
$intLike	= 0;
if(isset($intAction)) {
	if($intAction == 1) {
		include_once('member/index.php');
	}elseif($intAction == 2) {
		include_once('member/search.php');
		
	}
	$this->view->ajax = $intAjax;
	$objView 	= Zend_Registry::get('objView');
	$strData	= $objView->fetch('member/box-resultsearch.tpl');
	$arrJson 	= array('error'=>0,'dmember'=>$strData);
	echo $objRequest->getParam('callback') . '(' . Zend_Json::encode($arrJson) . ')';
	exit();
}
exit();
?>
